using Domain.Dto;
using Surging.Core.CPlatform.Ioc;
using System.Threading.Tasks;

namespace Domain.Interface
{
    public interface IModuleDomainService : IServiceKey
    {
        /// <summary>
        /// 创建功能模块
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        Task Create(ModuleCreateInput input);

        /// <summary>
        /// 更新功能模块
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        Task Update(ModuleUpdateInput input);
    }
}
